package com.markerhub.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
//@TableName("m_user")
public class User {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     *
     */
    private String username;
    private String avatar;
    private String email;
    private String password;
    private Integer status;
    Date created;
    Date lastLogin;

    //private Long id;
    //private String userName;
    //private String password;
    //private String name;
    //private Integer age;
    //private String address;
}
